<!-- 智能设备 -->
<template>
  <BaseContainer>
    <aplid-base-crud ref="crud" class="w-100" v-bind="{...baseConfig,...$attrs}"  :auth="showMenu?baseConfig.auth:{hideMenu:true}">
      <template #detailDialog="{row}">
        <DetailPart :nowRowData="row"></DetailPart>
      </template>
    </aplid-base-crud>
  </BaseContainer>
</template>

<script setup>
import {baseConfig} from './config'
import DetailPart from "./detailPart/index.vue"

const props = defineProps({
	showMenu:{
    type: Boolean,
    default: true,
  },
  showSearch: {
    type:Boolean,
    default: true,
  }
})
</script>

<style lang="scss" scoped></style>
